General principles for legislation:
- When a record exists for a legislation, for example French legislation (FRA), it can only be used in other files (setups, movement entry, etc.) containing the same legislation (FRA) or no legislation at all. It cannot be used in a record containing a different legislation.
- When a record exists without legislation, or all the legislations, it can be used in other records regardless of their legislation.
This behavior is modifiedwhen a record has several legislations:
If a record (same code) exists for a legislation, for example FRA, and also without legislation, the behavior is as follows:
- For a record with a legislation different from the legislation defined in the data (FRA in the example):
Only the data set up without legislation can be used.
- For a record containing an identical legislation (FRA in the example):
Only the date set up with this legislation can be used, as long as it is active.
The data set up without legislation cannot be used even if it is active, and the data set up with legislation is inactive.
- For a record for which there is no legislation entered:
Only the data set up without legislation can be used.
The data with a legislation is not available for selection and cannot be used.
However, if the data without legislation does not exist, all data containing a legislation is available for selection and can be used.
When using data available for several legislations that is set up with a group of companies, an additional control is carried out to maintain consistency within the group of companies. It is a control between the legislation of the element (setup, flows, etc.) in which the data is used and the legislation of group of companies entered on the data and the reverse.
Example: The Tax rate setup element uses the Tax rule data.
If the Tax rate is linked to a legislation, the control ensures that the group of the Tax rule contains at least one company with the same legislation as the legislation of the Tax rate.
If the Tax rate is defined for a group has no legislation, the control ensures that the legislation of the Tax rule corresponds to at least one of the companies of the group entered on the Tax rate.
The list of selection of data does not take into account this control because it is only carried out when the data is selected.